package java2022_07_11;

import java.io.File;
import java.io.IOException;
import java.util.Arrays;

public class FileDemo5 {
    public static void main(String[] args) throws IOException {
        File file = new File(".");
        file.createNewFile();
        String[] files = file.list();
        System.out.println(files);
        System.out.println(Arrays.toString(files));
    }
}
